package com.t216.dm216.service.impl;

import com.t216.dm216.mapper.DmOrderLinkUserMapper;
import com.t216.dm216.pojo.DmOrderLinkUser;
import com.t216.dm216.service.DmOrderLinkUserService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class DmOrderLinkUserServiceImpl implements DmOrderLinkUserService {
    @Resource
    private DmOrderLinkUserMapper dmOrderLinkUserMapper;

    @Override
    public boolean addLinkUsers(List<DmOrderLinkUser> list) {
        return dmOrderLinkUserMapper.insert(list).size() > 0;

    }
}
